from t_const import *

#关卡开启需求信息，key是关卡id，value是一个列表，表示开启关卡必须完成的其他关卡的id列表
STAGE_REQUIRE = {
		1 : [],
}


DATA = {

	1 : {
			"monster" : "tgame_map_demo",
		},

}

def set_stage_info():
	global DATA
	"""for value in DATA.values():
		tgame_map = value["monster"]
		tgame_map = __import__(tgame_map)
		stage_info = tgame_map.STAGE_INFO
		value['name'] = stage_info.get('stage_name', '')
		value['hard'] = stage_info.get('stage_hard', '')
		value['time'] = stage_info.get('stage_time', 0)
		value['win_score'] = stage_info.get('stage_win_score', 0)
		value['lose_score'] = stage_info.get('stage_lose_score', 0)
		value['stage_img_bag'] = stage_info.get('stage_img_bag','')
		value['stage_xiaoditu'] = stage_info.get('stage_xiaoditu','')
	#print "stage_info = ", DATA"""

set_stage_info()
